﻿<%@ Page PathInChannel="index{Ext}" %>
<%@ OutputCache Duration="3600" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<%=MetaKeywords%>" />
<meta name="description" content="<%=MetaDescription%>" />
<title><%=Channel[Name]%> - <%=Site[Name]%></title>
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/common.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _page = "index";
var _webPath = "<%=WebPath%>";
var _lang = "<%=PageLang%>";
</script>
</head>
<body>
<!-- TemplateBeginEditable name="菜单" -->
<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL and ParentID IS NULL">
	<div class="Menu">
		<ali:Record>
			<ali:Select>
				<ali:Yes>
					<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><strong><%=Name%></strong></a>
				</ali:Yes>
				<ali:No>
					<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
				</ali:No>
			</ali:Select>
			<ali:Separator>|</ali:Separator>
		</ali:Record>
	</div>
</ali:Menu>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：电影 - Banner" -->
<div class="Ad1">
	<ali:Ad Guid="{8A6454F7-4259-463c-B85A-218712B2B97C}">
		<a href="http://www.alibaza.com" target="_blank"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:980px;height:100px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="电影类别" -->
<ali:List Object="MovieCategory" Condition="IsDisplay=true and ParentID IS NULL">
	<div class="SubMenu">
		<ali:Record>
			<a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a>
			<ali:Separator>|</ali:Separator>
		</ali:Record>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="搜索" -->
<div class="Search">
	<form action="" target="_blank">
		<input type="radio" name="Search" id="MovieSearch" value="<%=BuildUrl("movie_search")%>" checked="checked" /><label for="MovieSearch">电影</label>
		<input type="radio" name="Search" id="PersonSearch" value="<%=BuildUrl("person_search")%>" /><label for="PersonSearch">人物</label>
		<input type="text" name="q" value="输入影片名" class="Text <%=PageLang%>Font" />
		<input type="submit" value="搜 索" class="Submit" />
		<ali:List Object="Movie.Tag" Operation="FilterList(1, 10, 'HitCount DESC')">
			<span>热门标签：
				<ali:Record>
					<a href="<%=BuildUrl("movie_tag")%>" target="_blank" title="<%=TagName%>"><%=TagName%></a>
				</ali:Record>
			</span>
		</ali:List>
	</form>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="路径" -->
<div class="Path">当前位置：
	<ali:Path>
		<ali:Record>
			<a href="<%=URL%>" title="<%=Name%>"><%=Name%></a> &gt;&gt; 
		</ali:Record>
	</ali:Path>
	<%=Channel[Name]%>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：电影 - 路径下方" -->
<div class="Ad2">
	<ali:Ad Guid="{B099486C-E66D-45fd-B691-55DB592CA086}">
		<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad2.jpg" alt="Ad" style="width:980px;height:70px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Block1">
		<!-- TemplateBeginEditable name="最新更新" -->
		<h1>最新更新</h1>
		<ali:List Object="Movie" Page="1" PageSize="13" Condition="IsDeleted=false and IsChecked=true" Sort="UpdateTime DESC">
			<ul class="List1">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a><span>(<%=Convert.ToDateTime(UpdateTime).ToString("yyyy-MM-dd")%>)</span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="点击排行" -->
		<h1>点击排行</h1>
		<ali:List Object="Movie" Page="1" PageSize="13" Condition="IsDeleted=false and IsChecked=true" Sort="HitCount DESC">
			<ul class="List2">
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a><span><%=HitCount%></span></li>
				</ali:Record>
			</ul>
		</ali:List>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Block2 LeftMargin">
		<!-- TemplateBeginEditable name="广告位：电影 - index - 公告旁边" -->
		<div class="Left">
			<ali:Ad Guid="{C3E8F81F-0EBD-43e5-A170-4ED842AC4D61}">
				<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad3.jpg" alt="Ad3" style="width:432px;height:220px" /></a>
			</ali:Ad>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="最新公告" -->
		<div class="Right">
			<h1>最新公告</h1>
			<div><%=Notice%></div>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="推荐电影" -->
		<ali:List Object="Movie" Page="1" PageSize="15" Condition="IsDeleted=false and IsChecked=true and IsRecommended=true" Sort="Recommend DESC">
			<ul>	
				<ali:Record>
					<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" /></a><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
				</ali:Record>
			</ul>		
		</ali:List>		
		<!-- TemplateEndEditable -->
	</div>
</div>

<!-- TemplateBeginEditable name="广告位：电影 - index - 列表上方" -->
<div class="Ad4">
	<ali:Ad Guid="{1C5701D3-E500-47cb-9F34-9F3EE98E0023}">
		<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad4.jpg" alt="Ad4" style="width:980px;height:70px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<div class="Block1">
		<h1><a href="<%=BuildUrl("person_list")%>" target="_blank" title="人物列表">人 物</a></h1>
		<div class="Block7">
			<div class="Left">
				<!-- TemplateBeginEditable name="最新人物" -->
				<ali:List Object="Person" Page="1" PageSize="4" Condition="IsDeleted=false and IsChecked=true" Sort="UpdateTime DESC">
					<ul>
						<ali:Record>
							<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" /></a><br /><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
						</ali:Record>
					</ul>
				</ali:List>
				<!-- TemplateEndEditable -->
			</div>
			<div class="Right">
				<!-- TemplateBeginEditable name="最热人物" -->
				<ali:List Object="Person" Page="1" PageSize="11" Condition="IsDeleted=false and IsChecked=true" Sort="HitCount DESC">
					<ul>
						<ali:Record>
							<li><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><%=Name%></a></li>
						</ali:Record>
						<li><a href="<%=BuildUrl("person_list")%>" target="_blank" title="更多人物">更多人物...</a></li>
					</ul>
				</ali:List>
				<!-- TemplateEndEditable -->
			</div>
		</div>
		
		<!-- TemplateBeginEditable name="地 区" -->
		<h1>地 区</h1>
		<div class="List3">
			<ali:List Object="Region">
				<ali:Record>
					<a href="<%=BuildUrl("movie_region")%>" target="_blank" title="<%=Name%>"><%=Name%></a>
				</ali:Record>
			</ali:List>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="语 言" -->
		<h1>语 言</h1>
		<div class="List3">
			<ali:List Object="Language">
				<ali:Record>
					<a href="<%=BuildUrl("movie_language")%>" target="_blank" title="<%=Name%>"><%=Name%></a>
				</ali:Record>
			</ali:List>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="年 份" -->
		<h1>年 份</h1>
		<ali:List Object="Movie" Operation="GetYearList(-1, -1, 'ASC')">
			<div class="List3">
				<ali:Record>
					<a href="<%=BuildUrl("movie_year", Index)%>" target="_blank" title="<%=[0]%>"><%=[0]%></a>
				</ali:Record>
			</div>
		</ali:List>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="标 签" -->
		<h1><a href="<%=BuildUrl("movie_tag_list")%>" target="_blank" title="标签列表">标 签</a></h1>
		<div class="List3">
			<ali:List Object="Movie.Tag" Operation="FilterList(1, 20, null)">
				<ali:Record>
					<a href="<%=BuildUrl("movie_tag")%>" target="_blank" title="<%=TagName%>"><%=TagName%></a>
				</ali:Record>
				<a href="<%=BuildUrl("movie_tag_list")%>" target="_blank" title="更多标签">更多标签...</a>
			</ali:List>
		</div>
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="公 司" -->
		<h1>公 司</h1>
		<div class="List3">
			<ali:List Object="Company">
				<ali:Record>
					<a href="<%=BuildUrl("movie_company")%>" target="_blank" title="<%=Name%>"><%=Name%></a>
				</ali:Record>
			</ali:List>
		</div>		
		<!-- TemplateEndEditable -->
		
		<!-- TemplateBeginEditable name="常用软件下载" -->
		<h1>常用软件下载</h1>
		<ali:Menu Condition="IsDisplay=true and CategoryID={4A99A80B-BA2D-464b-BAB6-68F102DA53A3}">
			<ul class="List4">
				<ali:Record>
					<li><a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Picture%>" alt="<%=Name%>" /></a></li>
				</ali:Record>
			</ul>
		</ali:Menu>
		<!-- TemplateEndEditable -->
	</div>
	<div class="Block3 LeftMargin">
		<!-- TemplateBeginEditable name="列表" -->
		<ali:List Object="MovieCategory" Condition="IsDisplay=true and ParentID IS NULL">
			<ali:Record>
				<div>
					<h3><span><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=ImagePath%>more.gif" alt="更多<%=Name%>" /></a></span><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%>(<%=List[RecordCount]%>)</a></h3>
					<ali:List ID="List" Object="Movie" Page="1" PageSize="10" Condition="IsDeleted=false and IsChecked=true and IncludeSubCategory=ID" Sort="Hold DESC, UpdateTime DESC">
						<dl>
							<ali:Record>
								<%If Index == 0%>
									<dt><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"><img src="<%=Thumbnail%>" alt="<%=Name%>" /></a></dt>
								<%EndIf%>
								<dd><a href="<%=BuildUrl()%>" target="_blank" title="<%=Name%>"<%=Style%>><%=Name%></a></dd>
							</ali:Record>
						</dl>
				</ali:List>	
				</div>
			</ali:Record>
		</ali:List>
		<!-- TemplateEndEditable -->
	</div>
</div>

<!-- TemplateBeginEditable name="广告位：电影 - 网页底部" -->
<div class="Ad7">
	<ali:Ad Guid="{C6DB7AA8-C8B3-429a-AE4E-9C1E3AD81ABB}">
		<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad5.jpg" alt="Ad5" style="width:980px;height:70px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="友情连接" -->
<ali:List Mark="System" Object="Link" Condition="IsChecked=true">
	<div class="Wrap">
		<div class="Link">
			<h1>友情链接</h1>
			<ul>
				<ali:Record>
					<li>
						<%If Convert.IsDBNull(Logo)%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><%=Name%></a>
						<%Else%>
							<a href="<%=URL%>" target="_blank" title="<%=Name%>"><img src="<%=Logo%>" alt="<%=Name%>" /></a>
						<%EndIf%>
					</li>
				</ali:Record>
			</ul>
		</div>
	</div>
</ali:List>
<!-- TemplateEndEditable -->

<div class="Footer">
	<!-- TemplateBeginEditable name="脚注菜单" -->
	<ali:Menu Condition="IsDisplay=true and CategoryID={BAC035A8-F6BB-4772-8D51-A7F4F3AB7AD3}">
		<ali:Record>
			<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"<%=Style%>><%=Name%></a>
			<ali:Separator>|</ali:Separator>
		</ali:Record>
		<hr size="1" />
	</ali:Menu>
	<!-- TemplateEndEditable -->

	<%=Footer%>
</div>

<%=ICP%>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/marquee.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=JsPath%>common.js"></script>
<%=StatisticsCode%>
</body>
</html>
